import { axiosRequest } from '@/utils/request'
import { codeModulePrefix } from '../../config'

/**
 * 行政区划树
 * @param {*} param dwbm: ""
 */
export const getTree = (param) => {
  return axiosRequest(`${codeModulePrefix}/dm-xzqhm/tree`, '行政区划树', 'POST', param)
}

/**
 * 行政区划下拉
 * @param {*} param pcode: "" 上级编码
 */
export const getCombo = (param) => {
  return axiosRequest(`${codeModulePrefix}/dm-xzqhm/combo`, '行政区划下拉', 'GET', param)
}
